#include "AhoCorasick.h"

int main()
{
	std::vector<std::string> stopWords = loadWords();
	std::vector<FoundWord> result = filter(stopWords);

	for (int i = 0; i < result.size(); ++i)
	{
		std::cout << "Line: " << result[i].line << ", position: " << result[i].position << ": " << stopWords[result[i].index] << std::endl;
	}

	return 0;
}
